<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
	"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html>
	<style type="text/css" media="screen">

	body {
		font-family: Monaco, Consolas, "Courier New"
	}
	

	div.covered
	{
		color: #333;
		margin: 0;
		padding: 0;
	}
	div.covered-even
	{
		background-color: #efe;
	}
	div.covered-odd
	{
		background-color: #ded;
	}

	div.uncovered
	{
		color: #f00;
		margin: 0;
		padding: 0;
	}
	div.uncovered-even
	{
		background-color: #fee;
	}
	div.uncovered-odd
	{
		background-color: #edd;
	}

	div.noop
	{
		margin: 0;
		padding: 0;
	}
	div.noop-even
	{
		background-color: #eee;
	}
	div.noop-odd
	{
		background-color: #ddd;
	}
	
	#code
	{
		width: 72em;
		overflow: auto;

		border-right: 1px dotted #999;
	}

	#code pre
	{
		margin: 0;
		padding: 0;
		
		font-family: Monaco, Consolas, "Courier New"
	}
	
	div.percent_bar {
		font-size: 0.6em;
		
		height: 0.8em;
		width: 6em;
		border: 1px solid #999;
		background-color: #e00;
	}
	div.percent_bar div.indicator {
		height: 100%;
		background-color: #0e0;
	}
		
			
	</style>

	<body>
		<div id='summary'>
			<table border='1'>
				<tr>
					<th>File Name</th>
					<th>Line Count</th>
					<th>Coverage</th>
				</tr>
					<td><%= file[:name] %></td>
					<td><%= file[:total] %></td>
					<td><%= Html::percent_bar file[:coverage] %></td>
				</tr>
			</table>
		</div>
		<div id='code'>
			<% file[:lines].each do |line| %>
				<%= Html::render_line line, file[:lines][0][:lineno] %>
			<% end %>
		</div>

<hr />
<script type="text/javascript"><!--
google_ad_client = "pub-4817386600910115";
//文字链接，创建于 08-1-15
google_ad_slot = "8625190476";
google_ad_output = "textlink";
google_ad_format = "ref_text";
google_cpa_choice = ""; // on file
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

	</body>

</html>
